/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: PackScanData
 *@Description: 包装管理扫码结果
 *@author youjun
 *@date 2017年8月16日 下午8:20:53
 */
public class PackScanData implements Serializable {

	/**
	 *@Fields serialVersionUID : TODO()
	 */
	private static final long serialVersionUID = 8325028491182806834L;

	@ApiModelProperty(value="产品ID")
	private Integer productId;
	
	@ApiModelProperty(value="产品名称")
	private String productName;
	
	@ApiModelProperty(value="最大单位name")
	private String bigUnit;
	
	@ApiModelProperty(value="包装单位name")
	private String packUnit;
	
	@ApiModelProperty(value="包装单位的下级单位name")
	private String packUnderUnit;
	
	@ApiModelProperty(value="拆补包装单位时返回包装单位的下级码数量,拆补最高单位时返回对应的包装数量")
	private Integer count;
	
	@ApiModelProperty(value="拆补包装单位时返回包装单位的下级码剩余数量,拆补最高单位时返回对应的包装剩余数量")
	private Integer surplusSize;
	
	@ApiModelProperty(value="包装码,密文")
	private String code;
	
	@ApiModelProperty(value="码序列号,eg:10036")
	private String seqNum; // 码序列号：10036
	
	@ApiModelProperty(value="友好码开始段")
	private String friendlyCodeFront; // 友好码开始段
	
	@ApiModelProperty(value="友好码结束段")
	private String friendlyCodeEnd; // 友好码结束段
	
	@ApiModelProperty(value="友好码=友好码开始段+友好码结束段")
	private String friendlyCode;
	
	// 包装单位+1的信息，拆垛无需提供
	@ApiModelProperty(value="包装码的上级码")
	private String layerCode; // 上级码
	
	@ApiModelProperty(value="包装码的上级码的剩余空位数")
	private Integer layerSurplusSize; // 上级码剩余空位数
	
	@ApiModelProperty(value="包装码的上级码的单位name,eg:层")
	private String layerName; // 上级码的单位name

	@ApiModelProperty(value="最高单位码")
	private String stackCode;

	/**
	 *@return the productId
	 */
	public Integer getProductId() {
		return productId;
	}

	/**
	 *@param productId the productId to set
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/**
	 *@return the productName
	 */
	public String getProductName() {
		return productName;
	}

	/**
	 *@param productName the productName to set
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}

	/**
	 *@return the count
	 */
	public Integer getCount() {
		return count;
	}

	/**
	 *@param count the count to set
	 */
	public void setCount(Integer count) {
		this.count = count;
	}

	/**
	 *@return the seqNum
	 */
	public String getSeqNum() {
		return seqNum;
	}

	/**
	 *@param seqNum the seqNum to set
	 */
	public void setSeqNum(String seqNum) {
		this.seqNum = seqNum;
	}

	/**
	 *@return the friendlyCodeFront
	 */
	public String getFriendlyCodeFront() {
		return friendlyCodeFront;
	}

	/**
	 *@param friendlyCodeFront the friendlyCodeFront to set
	 */
	public void setFriendlyCodeFront(String friendlyCodeFront) {
		this.friendlyCodeFront = friendlyCodeFront;
	}

	/**
	 *@return the friendlyCodeEnd
	 */
	public String getFriendlyCodeEnd() {
		return friendlyCodeEnd;
	}

	/**
	 *@param friendlyCodeEnd the friendlyCodeEnd to set
	 */
	public void setFriendlyCodeEnd(String friendlyCodeEnd) {
		this.friendlyCodeEnd = friendlyCodeEnd;
	}

	/**
	 *@return the friendlyCode
	 */
	public String getFriendlyCode() {
		return friendlyCode;
	}

	/**
	 *@param friendlyCode the friendlyCode to set
	 */
	public void setFriendlyCode(String friendlyCode) {
		this.friendlyCode = friendlyCode;
	}

	/**
	 *@return the layerCode
	 */
	public String getLayerCode() {
		return layerCode;
	}

	/**
	 *@param layerCode the layerCode to set
	 */
	public void setLayerCode(String layerCode) {
		this.layerCode = layerCode;
	}

	/**
	 *@return the layerSurplusSize
	 */
	public Integer getLayerSurplusSize() {
		return layerSurplusSize;
	}

	/**
	 *@param layerSurplusSize the layerSurplusSize to set
	 */
	public void setLayerSurplusSize(Integer layerSurplusSize) {
		this.layerSurplusSize = layerSurplusSize;
	}

	/**
	 *@return the layerName
	 */
	public String getLayerName() {
		return layerName;
	}

	/**
	 *@param layerName the layerName to set
	 */
	public void setLayerName(String layerName) {
		this.layerName = layerName;
	}

	/**
	 *@return the stackCode
	 */
	public String getStackCode() {
		return stackCode;
	}

	/**
	 *@param stackCode the stackCode to set
	 */
	public void setStackCode(String stackCode) {
		this.stackCode = stackCode;
	}

	/**
	 *@return the surplusSize
	 */
	public Integer getSurplusSize() {
		return surplusSize;
	}

	/**
	 *@param surplusSize the surplusSize to set
	 */
	public void setSurplusSize(Integer surplusSize) {
		this.surplusSize = surplusSize;
	}

	/**
	 *@return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 *@param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 *@return the bigUnit
	 */
	public String getBigUnit() {
		return bigUnit;
	}

	/**
	 *@param bigUnit the bigUnit to set
	 */
	public void setBigUnit(String bigUnit) {
		this.bigUnit = bigUnit;
	}

	/**
	 *@return the packUnit
	 */
	public String getPackUnit() {
		return packUnit;
	}

	/**
	 *@param packUnit the packUnit to set
	 */
	public void setPackUnit(String packUnit) {
		this.packUnit = packUnit;
	}

	/**
	 *@return the packUnderUnit
	 */
	public String getPackUnderUnit() {
		return packUnderUnit;
	}

	/**
	 *@param packUnderUnit the packUnderUnit to set
	 */
	public void setPackUnderUnit(String packUnderUnit) {
		this.packUnderUnit = packUnderUnit;
	}

}
